Node TemplatesΒΆ
When creating a new RenderGraph or a new Camera, Guerilla will first look for a template file to load. If such a file is found, Guerilla loads it and presents it as the newly created node. If no such file is found, then Guerilla proceeds to create it from scratch.
This feature is useful if you want to customize the default behaviour of Guerilla when generating new data.
Possible templates are:
- new_document.gproject: template used when creating a new document
- export.gproject: template used when exporting a project from Maya or another host package
- new_rendergraph.grendergraph: template used when creating a new RenderGraph
- new_light.glight: template used when creating a new Light
- new_camera.glocator: template used when creating a new Camera
- new_material.glocator: template used when creating a new Material
- new_environment.glocator: template used when creating a new Environment
- new_renderpass.glayer: template used when creating a new RenderPass
- new_composition.gcomp: template used when creating a new Compositing
- new_cubemap.glayer: template used when creating a new CubeMap render pass
- new_bakesss.glayer: template used when creating a new BakeSSS render pass
- new_bake2d.glayer: template used when creating a new Bake2d render pass
- new_bake3d.glayer: template used when creating a new Bake3d render pass
- new_shadernode.gnode: template used when creating a new shader macro
You can specify several locations where Guerilla looks for template files:
Edit the guerilla.conf of your Guerilla installation and add a TemplateDirectory=/the/path/to/my/main/templates\n/the/path/to/my/other/templates line to it.